package com.example.airobotinterviewrecord.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.airobotinterviewrecord.entity.InterviewSchedule;
import com.example.question.entity.QuestionSet;

import java.util.List;

/**
 * <p>
 * 面试安排表 服务类
 * </p>
 *
 * @author author
 * @since 2025-04-07
 */
public interface IInterviewScheduleService extends IService<InterviewSchedule> {
    // 查询所有面试安排
    IPage<InterviewSchedule> listSchedulesByPage(int pageNum, int pageSize);

    // 新增面试安排
    boolean addSchedule(InterviewSchedule schedule);

    // 根据ID删除面试安排
    String deleteScheduleById(Integer id);

    // 更新面试安排
    String updateSchedule(InterviewSchedule schedule);

    // 获取题目集列表
    List<QuestionSet> listQuestionSets();
}
